package com.yzc.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yzc.model.entity.order.TOrders;
import com.yzc.model.query.order.TOrdersReq;
import com.yzc.model.vo.order.RushOrdersVo;
import com.yzc.model.vo.order.TOrdersVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Yzc
* @description 针对表【t_orders】的数据库操作Mapper
* @createDate 2024-11-25 19:49:09
* @Entity aaa.entities.TOrders
*/
@Mapper
public interface TOrdersMapper extends BaseMapper<TOrders> {


    List<TOrdersVo> loadAllOrderList();


    @Select("SELECT * FROM t_orders where type =1")
    List<RushOrdersVo> rushOrdersList();

    void accomplishOrder(Integer id);

    void saveOrderInfo(TOrdersReq tOrdersReq);
}




